package top.usts.springframework.beans.factory;

import top.usts.springframework.beans.BeansException;

/**
 * @description:
 * Interface to be implemented by beans that wish to be aware of their
 * owning {@link BeanFactory}.
 *
 * 实现此接口，既能感知到所属的 BeanFactory
 * @author: CJ
 * @date: 2022/2/24
 */
public interface BeanFactoryAware extends Aware{

    void setBeanFactory(BeanFactory beanFactory) throws BeansException;

}
